wayland: Fix typo in setting of core_pointer
authorMichael Forney <mforney@mforney.org>
Mon, 1 Jul 2013 22:51:20 +0000 (15:51 -0700)
committerRob Bradford <rob@linux.intel.com>
Wed, 3 Jul 2013 14:24:50 +0000 (15:24 +0100)
This typo caused the display's core_pointer to be set only if the mouse
was first in the device list.

https://bugzilla.gnome.org/show_bug.cgi?id=703434

gdk/wayland/gdkdisplay-wayland.c

index dec350a0a569bc10bda2faf4b37fc42a84cb6770..89504e844170d22d8fc9059543632eb8747385b1 100644 (file)
@@ -107,7 +107,7 @@ gdk_input_init (GdkDisplay *display)
 
   for (l = list; l; l = l->next)
     {
-      device = list->data;
+      device = l->data;
 
       if (gdk_device_get_source (device) != GDK_SOURCE_MOUSE)
        continue;